.. _CV Structures: ========================== CV Structures ========================== .. toctree:: :maxdepth: 1 * :ref:`CVariable` * :ref:`CVariableHash` * :ref:`CVEFEvent` * :ref:`CVEFVidCell` * :ref:`CVEFVidCellBase` * :ref:`CVEFVidCellFile` * :ref:`CVidBitmap` * :ref:`CVidCell` * :ref:`CVidCellFont` * :ref:`CVidDrawable` * :ref:`CVideo` * :ref:`CVidFont` * :ref:`CVidImage` * :ref:`CVIDIMG_PALETTEAFFECT` * :ref:`CVidMode` * :ref:`CVidMosaic` * :ref:`CVidPalette` * :ref:`CVidPng` * :ref:`CVidPoly` * :ref:`CVidTile` * :ref:`CVIDMODE_CLIP_OUTCODE` * :ref:`CVIDMODE_RECTICLE_DESCRIPTION` * :ref:`CVIDPALETTE_COLOR` * :ref:`CVIDPOLY_VERTEX` * :ref:`CVisibilityMap` * :ref:`CVisibilityMapEllipse` * :ref:`CVisibilityMapTreeNode` * :ref:`CVisualEffect` * :ref:`CVisualEffectBase` * :ref:`CVisualEffectFile` * :ref:`CVoice` * :ref:`CVRamPool` * :ref:`CVVCHash` * :ref:`CVVCHashEntry` .. _CVariable: CVariable ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 84 | :ref:`CAreaVariable` | m_cAreaVariable | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CVariableHash: CVariableHash ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CVariableHash Class` +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 4 | :ref:`CVariable`\* | m_hashEntries | +------------+----------+----------------------------------------+-------------------------------+ | 0x04 | 4 | long | m_nTableEntries | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CVEFEvent: CVEFEvent ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 4 | long | m_nTimeFrame | +------------+----------+----------------------------------------+-------------------------------+ | 0x04 | 4 | unsigned long | m_dwFlags | +------------+----------+----------------------------------------+-------------------------------+ | 0x08 | 4 | long | m_nRepeatRate | +------------+----------+----------------------------------------+-------------------------------+ | 0x0C | 4 | unsigned long | m_nResType | +------------+----------+----------------------------------------+-------------------------------+ | 0x10 | 8 | :ref:`CResRef` | m_res | +------------+----------+----------------------------------------+-------------------------------+ | 0x18 | 4 | unsigned long | m_specialFlags | +------------+----------+----------------------------------------+-------------------------------+ | 0x1C | 196 | unsigned long | m_pad[49] | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CVEFVidCell: CVEFVidCell ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CVEFVidCell Class` +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 71 | :ref:`CGameObject` | m_cGameObject | +------------+----------+----------------------------------------+-------------------------------+ | | 1 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ | 0x48 | 484 | :ref:`CVEFVidCellBase`| m_cVEFVidCellBase | +------------+----------+----------------------------------------+-------------------------------+ | 0x22C | 4 | :ref:`CVidCell`\* | m_cVidCell | +------------+----------+----------------------------------------+-------------------------------+ | 0x230 | 4 | :ref:`CVidCell`\* | m_cShadowVidCell | +------------+----------+----------------------------------------+-------------------------------+ | 0x234 | 36 | :ref:`CVidPalette` | m_palette | +------------+----------+----------------------------------------+-------------------------------+ | 0x258 | 176 | :ref:`CVidBitmap` | m_newPalette | +------------+----------+----------------------------------------+-------------------------------+ | 0x308 | 4 | int | m_done | +------------+----------+----------------------------------------+-------------------------------+ | 0x30C | 4 | long | m_newDirection | +------------+----------+----------------------------------------+-------------------------------+ | 0x310 | 16 | unsigned char | m_terrainTable[16] | +------------+----------+----------------------------------------+-------------------------------+ | 0x320 | 20 | :ref:`CSound` | m_sound | +------------+----------+----------------------------------------+-------------------------------+ | 0x334 | 4 | :ref:`CVidCell`\* | m_cAlphaBam | +------------+----------+----------------------------------------+-------------------------------+ | 0x338 | 1 | unsigned char | m_level | +------------+----------+----------------------------------------+-------------------------------+ | 0x339 | 1 | unsigned char | m_nCurSound | +------------+----------+----------------------------------------+-------------------------------+ | | 2 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ | 0x33C | 4 | unsigned long | m_renderMask | +------------+----------+----------------------------------------+-------------------------------+ | 0x340 | 4 | unsigned long | m_renderType | +------------+----------+----------------------------------------+-------------------------------+ | 0x344 | 4 | unsigned long | m_myRenderMask | +------------+----------+----------------------------------------+-------------------------------+ | 0x348 | 4 | unsigned long | m_priority | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CVEFVidCellBase: CVEFVidCellBase ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 8 | :ref:`CResRef` | m_cVidCellRef | +------------+----------+----------------------------------------+-------------------------------+ | 0x08 | 8 | :ref:`CResRef` | m_cShadowVidCellRef | +------------+----------+----------------------------------------+-------------------------------+ | 0x10 | 4 | unsigned long | m_bltFlags | +------------+----------+----------------------------------------+-------------------------------+ | 0x14 | 4 | unsigned long | m_bltInfo | +------------+----------+----------------------------------------+-------------------------------+ | 0x18 | 4 | unsigned long | m_bltFlagsExtra | +------------+----------+----------------------------------------+-------------------------------+ | 0x1C | 4 | unsigned long | m_bltInfoExtra | +------------+----------+----------------------------------------+-------------------------------+ | 0x20 | 8 | :ref:`CPoint` | m_offset | +------------+----------+----------------------------------------+-------------------------------+ | 0x28 | 4 | unsigned long | m_offsetFlags | +------------+----------+----------------------------------------+-------------------------------+ | 0x2C | 4 | long | m_animationSpeed | +------------+----------+----------------------------------------+-------------------------------+ | 0x30 | 4 | long | m_numDirections | +------------+----------+----------------------------------------+-------------------------------+ | 0x34 | 4 | long | m_direction | +------------+----------+----------------------------------------+-------------------------------+ | 0x38 | 4 | unsigned long | m_directionFlags | +------------+----------+----------------------------------------+-------------------------------+ | 0x3C | 8 | :ref:`CResRef` | m_cNewPaletteRef | +------------+----------+----------------------------------------+-------------------------------+ | 0x44 | 4 | long | m_height | +------------+----------+----------------------------------------+-------------------------------+ | 0x48 | 8 | :ref:`CPoint` | m_glowSize | +------------+----------+----------------------------------------+-------------------------------+ | 0x50 | 4 | unsigned long | m_glowIntensity | +------------+----------+----------------------------------------+-------------------------------+ | 0x54 | 4 | long | m_nDuration | +------------+----------+----------------------------------------+-------------------------------+ | 0x58 | 8 | :ref:`CResRef` | m_cVVCResRes | +------------+----------+----------------------------------------+-------------------------------+ | 0x60 | 4 | long | m_nStartSequence | +------------+----------+----------------------------------------+-------------------------------+ | 0x64 | 4 | long | m_nLoopSequence | +------------+----------+----------------------------------------+-------------------------------+ | 0x68 | 4 | long | m_nCurrentSequence | +------------+----------+----------------------------------------+-------------------------------+ | 0x6C | 4 | unsigned long | m_sequenceFlags | +------------+----------+----------------------------------------+-------------------------------+ | 0x70 | 8 | :ref:`CResRef` | m_cStartSoundRef | +------------+----------+----------------------------------------+-------------------------------+ | 0x78 | 8 | :ref:`CResRef` | m_cLoopSoundRef | +------------+----------+----------------------------------------+-------------------------------+ | 0x80 | 8 | :ref:`CResRef` | m_cAlphaBamRef | +------------+----------+----------------------------------------+-------------------------------+ | 0x88 | 4 | long | m_nEndSequence | +------------+----------+----------------------------------------+-------------------------------+ | 0x8C | 8 | :ref:`CResRef` | m_cEndSoundRef | +------------+----------+----------------------------------------+-------------------------------+ | 0x94 | 336 | unsigned long | m_extra[84] | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CVEFVidCellFile: CVEFVidCellFile ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 12 | :ref:`CResHelper` | m_cResHelper | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CVidBitmap: CVidBitmap ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CVidBitmap Class` +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 156 | :ref:`CVidImage` | m_cVidImage | +------------+----------+----------------------------------------+-------------------------------+ | 0x9C | 12 | :ref:`CResHelper` | m_cResHelper | +------------+----------+----------------------------------------+-------------------------------+ | 0xa8 | 2 | short | m_nBitCount | +------------+----------+----------------------------------------+-------------------------------+ | | 2 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ | 0xAC | 4 | :ref:`CString` | m_szResFileName | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CVidCell: CVidCell ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CVidCell Class` +------------+----------+-------------------------------------------------+--------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+-------------------------------------------------+--------------------+ | 0x00 | 4 | DWORD | vfptr | +------------+----------+-------------------------------------------------+--------------------+ | 0x04 | 156 | :ref:`CVidImage` | m_cVidImage | +------------+----------+-------------------------------------------------+--------------------+ | 0xA0 | 12 | :ref:`CResHelper` | m_cResHelper | +------------+----------+-------------------------------------------------+--------------------+ | 0xAC | 2 | short | m_nCurrentFrame | +------------+----------+-------------------------------------------------+--------------------+ | 0xAE | 2 | unsigned short | m_nCurrentSequence | +------------+----------+-------------------------------------------------+--------------------+ | 0xB0 | 4 | int | m_nAnimType | +------------+----------+-------------------------------------------------+--------------------+ | 0xB4 | 4 | int | m_bPaletteChanged | +------------+----------+-------------------------------------------------+--------------------+ | 0xB8 | 4 | :ref:`frameTableEntry_st`\* | m_pFrame | +------------+----------+-------------------------------------------------+--------------------+ | 0xBC | 1 | unsigned char | m_bShadowOn | +------------+----------+-------------------------------------------------+--------------------+ | | 3 | | ```` | +------------+----------+-------------------------------------------------+--------------------+ ---- .. _CVidCellFont: CVidCellFont ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 189 | :ref:`CVidCell` | m_cVidCell | +------------+----------+----------------------------------------+-------------------------------+ | | 3 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CVidDrawable: CVidDrawable ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CVidDrawable Class` +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 4 | int | texType | +------------+----------+----------------------------------------+-------------------------------+ | 0x04 | 4 | void\* | tex | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CVideo: CVideo ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CVideo Class` +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 4 | :ref:`CVidMode`\* | pCurrentMode | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CVidFont: CVidFont ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CVidFont Class` +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 12 | :ref:`CResHelper` | m_cResHelper | +------------+----------+----------------------------------------+-------------------------------+ | 0x0C | 4 | :ref:`CVidCellFont`\* | vidCellFont | +------------+----------+----------------------------------------+-------------------------------+ | 0x10 | 4 | unsigned long | foreground | +------------+----------+----------------------------------------+-------------------------------+ | 0x14 | 4 | unsigned long | tintcolor | +------------+----------+----------------------------------------+-------------------------------+ | 0x18 | 4 | int | pointSize | +------------+----------+----------------------------------------+-------------------------------+ | 0x1C | 4 | int | zoom | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CVidImage: CVidImage ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CVidImage Class` +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 36 | :ref:`CVidPalette` | m_cPalette | +------------+----------+----------------------------------------+-------------------------------+ | 0x24 | 120 | CVIDIMG_PALETTEAFFECT | mPaletteAffects | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CVIDIMG_PALETTEAFFECT: CVIDIMG_PALETTEAFFECT ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 4 | unsigned long | rgbTintColor | +------------+----------+----------------------------------------+-------------------------------+ | 0x04 | 4 | unsigned long | rgbAddColor | +------------+----------+----------------------------------------+-------------------------------+ | 0x08 | 4 | unsigned long | rgbLightColor | +------------+----------+----------------------------------------+-------------------------------+ | 0x0C | 28 | unsigned long\* | pRangeTints[7] | +------------+----------+----------------------------------------+-------------------------------+ | 0x28 | 8 | unsigned char | aRangeTintPeriods[8] | +------------+----------+----------------------------------------+-------------------------------+ | 0x30 | 28 | unsigned long\* | pRangeAdds[7] | +------------+----------+----------------------------------------+-------------------------------+ | 0x4C | 8 | unsigned char | aRangeAddPeriods[8] | +------------+----------+----------------------------------------+-------------------------------+ | 0x54 | 28 | unsigned long\* | pRangeLights[7] | +------------+----------+----------------------------------------+-------------------------------+ | 0x70 | 7 | unsigned char | aRangeLightPeriods[7] | +------------+----------+----------------------------------------+-------------------------------+ | 0x77 | 1 | unsigned char | suppressTints | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CVidMode: CVidMode ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CVidMode Class` +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 4 | int | m_nPrintFile | +------------+----------+----------------------------------------+-------------------------------+ | 0x04 | 4 | int | m_nPointerNumber | +------------+----------+----------------------------------------+-------------------------------+ | 0x08 | 4 | unsigned long | m_dwCursorRenderFlags | +------------+----------+----------------------------------------+-------------------------------+ | 0x0C | 4 | unsigned long | m_dwRedMask | +------------+----------+----------------------------------------+-------------------------------+ | 0x10 | 4 | unsigned long | m_dwGreenMask | +------------+----------+----------------------------------------+-------------------------------+ | 0x14 | 4 | unsigned long | m_dwBlueMask | +------------+----------+----------------------------------------+-------------------------------+ | 0x18 | 1 | unsigned char | m_bFadeTo | +------------+----------+----------------------------------------+-------------------------------+ | 0x19 | 1 | unsigned char | m_nFade | +------------+----------+----------------------------------------+-------------------------------+ | | 2 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ | 0x1C | 4 | SDL_Window\* | m_pWindow | +------------+----------+----------------------------------------+-------------------------------+ | 0x20 | 4 | void\* | m_glContext | +------------+----------+----------------------------------------+-------------------------------+ | 0x24 | 176 | :ref:`CVidBitmap` | m_circle | +------------+----------+----------------------------------------+-------------------------------+ | 0xD4 | 4 | int | nWidth | +------------+----------+----------------------------------------+-------------------------------+ | 0xD8 | 4 | int | nHeight | +------------+----------+----------------------------------------+-------------------------------+ | 0xDC | 1 | bool | bRedrawEntireScreen | +------------+----------+----------------------------------------+-------------------------------+ | 0xDD | 1 | bool | bHardwareMouseCursor | +------------+----------+----------------------------------------+-------------------------------+ | | 2 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ | 0xE0 | 4 | :ref:`CVidCell`\* | pPointerVidCell | +------------+----------+----------------------------------------+-------------------------------+ | 0xE4 | 4 | :ref:`CVidCell`\* | pTooltipVidCell | +------------+----------+----------------------------------------+-------------------------------+ | 0xE8 | 1 | unsigned char | m_bPrintScreen | +------------+----------+----------------------------------------+-------------------------------+ | | 3 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ | 0xEC | 4 | unsigned long | nTickCount | +------------+----------+----------------------------------------+-------------------------------+ | 0xF0 | 4 | float | m_fInputScale | +------------+----------+----------------------------------------+-------------------------------+ | 0xF4 | 4 | unsigned long | rgbGlobalTint | +------------+----------+----------------------------------------+-------------------------------+ | 0xF8 | 1 | unsigned char | m_nGammaCorrection | +------------+----------+----------------------------------------+-------------------------------+ | 0xF9 | 1 | unsigned char | m_nBrightnessCorrection | +------------+----------+----------------------------------------+-------------------------------+ | | 2 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ | 0xFC | 4 | int | m_nScreenScrollY | +------------+----------+----------------------------------------+-------------------------------+ | 0x100 | 4 | int | m_nScreenScrollX | +------------+----------+----------------------------------------+-------------------------------+ | 0x104 | 4 | int | nRShift | +------------+----------+----------------------------------------+-------------------------------+ | 0x108 | 4 | int | nGShift | +------------+----------+----------------------------------------+-------------------------------+ | 0x10C | 4 | int | nBShift | +------------+----------+----------------------------------------+-------------------------------+ | 0x110 | 4 | RGBQUAD | rgbTint | +------------+----------+----------------------------------------+-------------------------------+ | 0x114 | 4 | int | bPointerEnabled | +------------+----------+----------------------------------------+-------------------------------+ | 0x118 | 16 | :ref:`CRect` | rPointerStorage | +------------+----------+----------------------------------------+-------------------------------+ | 0x128 | 16 | :ref:`CRect` | m_rLockedRect | +------------+----------+----------------------------------------+-------------------------------+ | 0x138 | 4 | :ref:`CVidCell`\* | m_lastCursor | +------------+----------+----------------------------------------+-------------------------------+ | 0x13C | 4 | int | m_lastCursorFrame | +------------+----------+----------------------------------------+-------------------------------+ | 0x140 | 4 | int | m_lastCursorSequence | +------------+----------+----------------------------------------+-------------------------------+ | 0x144 | 4 | int | m_lastCursorNumber | +------------+----------+----------------------------------------+-------------------------------+ | 0x148 | 4 | unsigned long | m_lastCursorFlags | +------------+----------+----------------------------------------+-------------------------------+ | 0x14C | 4 | unsigned int | m_lastCursorResId | +------------+----------+----------------------------------------+-------------------------------+ | 0x150 | 4 | SDL_Cursor\* | m_hwCursor | +------------+----------+----------------------------------------+-------------------------------+ | 0x154 | 4 | SDL_Surface\* | m_hwCursorSurface | +------------+----------+----------------------------------------+-------------------------------+ | 0x158 | 4 | int | nVRamSurfaces | +------------+----------+----------------------------------------+-------------------------------+ | 0x15C | 176 | :ref:`CVidBitmap` | m_rgbMasterBitmap | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CVidMosaic: CVidMosaic ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CVidMosaic Class` +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 156 | :ref:`CVidImage` | m_cVidImage | +------------+----------+----------------------------------------+-------------------------------+ | 0x9C | 12 | :ref:`CResHelper` | m_cResHelper | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CVidPalette: CVidPalette ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CVidPalette Class` +------------+----------+--------------------------------------------------------------------------------------------+------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+--------------------------------------------------------------------------------------------+------------------------+ | 0x00 | 4 | unsigned int | m_nAUCounter | +------------+----------+--------------------------------------------------------------------------------------------+------------------------+ | 0x04 | 4 | unsigned int | m_nAUCounterBase | +------------+----------+--------------------------------------------------------------------------------------------+------------------------+ | 0x08 | 4 | `RGBQUAD `_\* | m_pPalette | +------------+----------+--------------------------------------------------------------------------------------------+------------------------+ | 0x0C | 4 | int | m_nEntries | +------------+----------+--------------------------------------------------------------------------------------------+------------------------+ | 0x10 | 4 | unsigned long | rgbGlobalTint | +------------+----------+--------------------------------------------------------------------------------------------+------------------------+ | 0x14 | 2 | unsigned short | m_nType | +------------+----------+--------------------------------------------------------------------------------------------+------------------------+ | 0x16 | 1 | unsigned char | m_bPaletteOwner | +------------+----------+--------------------------------------------------------------------------------------------+------------------------+ | | 1 | | ```` | +------------+----------+--------------------------------------------------------------------------------------------+------------------------+ | 0x18 | 4 | int | m_bSubRangesCalculated | +------------+----------+--------------------------------------------------------------------------------------------+------------------------+ | 0x1C | 7 | unsigned char | m_rangeColors[7] | +------------+----------+--------------------------------------------------------------------------------------------+------------------------+ | | 1 | | ```` | +------------+----------+--------------------------------------------------------------------------------------------+------------------------+ ---- .. _CVidPng: CVidPng ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CVidPng Class` +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 156 | :ref:`CVidImage` | m_cVidImage | +------------+----------+----------------------------------------+-------------------------------+ | 0x9C | 12 | :ref:`CResHelper` | m_cResHelper | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CVidPoly: CVidPoly ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CVidPoly Class` +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 4 | CVIDPOLY_VERTEX\* | m_pVertices | +------------+----------+----------------------------------------+-------------------------------+ | 0x04 | 4 | int | m_nVertices | +------------+----------+----------------------------------------+-------------------------------+ | 0x08 | 4 | _EdgeDescription\* | m_pET | +------------+----------+----------------------------------------+-------------------------------+ | 0x0C | 4 | _EdgeDescription\* | m_pAET | +------------+----------+----------------------------------------+-------------------------------+ | 0x10 | 4 | void | m_pDrawHLineFunction | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CVidTile: CVidTile ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CVidTile Class` +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 156 | :ref:`CVidImage` | m_cVidImage | +------------+----------+----------------------------------------+-------------------------------+ | 0x9C | 4 | :ref:`CResTile`\* | pRes | +------------+----------+----------------------------------------+-------------------------------+ | 0xA0 | 4 | unsigned long | m_dwFlags | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CVIDMODE_CLIP_OUTCODE: CVIDMODE_CLIP_OUTCODE ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 4 | unsigned int | all | +------------+----------+----------------------------------------+-------------------------------+ | 0x04 | 4 | unsigned int | left : 4 | +------------+----------+----------------------------------------+-------------------------------+ | 0x04 | 4 | unsigned int | right : 4 | +------------+----------+----------------------------------------+-------------------------------+ | 0x04 | 4 | unsigned int | bottom : 4 | +------------+----------+----------------------------------------+-------------------------------+ | 0x04 | 4 | unsigned int | top : 4 | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CVIDMODE_RECTICLE_DESCRIPTION: CVIDMODE_RECTICLE_DESCRIPTION ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 8 | :ref:`CPoint` | ptCenter | +------------+----------+----------------------------------------+-------------------------------+ | 0x08 | 2 | short | xAxis | +------------+----------+----------------------------------------+-------------------------------+ | 0x0A | 2 | short | yAxis | +------------+----------+----------------------------------------+-------------------------------+ | 0x0c | 2 | short | piePiecePtXOffset | +------------+----------+----------------------------------------+-------------------------------+ | 0x0e | 2 | short | piePiecePtYOffset | +------------+----------+----------------------------------------+-------------------------------+ | 0x10 | 2 | short | piePieceXOffset | +------------+----------+----------------------------------------+-------------------------------+ | 0x12 | 2 | short | piePieceYOffset | +------------+----------+----------------------------------------+-------------------------------+ | 0x14 | 2 | short | xGap | +------------+----------+----------------------------------------+-------------------------------+ | 0x16 | 2 | short | yGap | +------------+----------+----------------------------------------+-------------------------------+ | 0x18 | 2 | short | cursor | +------------+----------+----------------------------------------+-------------------------------+ | | 2 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CVIDPALETTE_COLOR: CVIDPALETTE_COLOR ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 4 | int | rgbRed | +------------+----------+----------------------------------------+-------------------------------+ | 0x04 | 4 | int | rgbGreen | +------------+----------+----------------------------------------+-------------------------------+ | 0x08 | 4 | int | rgbBlue | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CVIDPOLY_VERTEX: CVIDPOLY_VERTEX ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 2 | unsigned short | x | +------------+----------+----------------------------------------+-------------------------------+ | 0x02 | 2 | unsigned short | y | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CVisibilityMap: CVisibilityMap ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CVisibilityMap Class` +------------+----------+-----------------------------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+-----------------------------------------------------------+-------------------------------+ | 0x00 | 4 | unsigned short\* | m_pMap | +------------+----------+-----------------------------------------------------------+-------------------------------+ | 0x04 | 4 | long | m_nMapSize | +------------+----------+-----------------------------------------------------------+-------------------------------+ | 0x08 | 2 | short | m_nWidth | +------------+----------+-----------------------------------------------------------+-------------------------------+ | 0x0A | 2 | short | m_nHeight | +------------+----------+-----------------------------------------------------------+-------------------------------+ | 0x0C | 1 | unsigned char | m_bOutDoor | +------------+----------+-----------------------------------------------------------+-------------------------------+ | | 3 | | ```` | +------------+----------+-----------------------------------------------------------+-------------------------------+ | 0x10 | 4 | :ref:`CSearchBitmap`\* | m_pSearchMap | +------------+----------+-----------------------------------------------------------+-------------------------------+ | 0x14 | 60 | long | m_aCharacterIds[15] | +------------+----------+-----------------------------------------------------------+-------------------------------+ | 0x50 | 4 | :ref:`CVisibilityMapTreeNode`\*\* | m_pVisMapTrees | +------------+----------+-----------------------------------------------------------+-------------------------------+ | 0x54 | 4 | :ref:`CVisibilityMapEllipse`\* | m_pVisMapEllipses | +------------+----------+-----------------------------------------------------------+-------------------------------+ ---- .. _CVisibilityMapEllipse: CVisibilityMapEllipse ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 2 | short | m_nXExploreRange | +------------+----------+----------------------------------------+-------------------------------+ | 0x02 | 2 | short | m_nYExploreRange | +------------+----------+----------------------------------------+-------------------------------+ | 0x04 | 4 | unsigned char\* | m_pXEllipsePts | +------------+----------+----------------------------------------+-------------------------------+ | 0x08 | 4 | unsigned char\* | m_pYEllipsePts | +------------+----------+----------------------------------------+-------------------------------+ | 0x0C | 1 | unsigned char | m_nXPtsSize | +------------+----------+----------------------------------------+-------------------------------+ | 0x0D | 1 | unsigned char | m_nYPtsSize | +------------+----------+----------------------------------------+-------------------------------+ | | 2 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CVisibilityMapTreeNode: CVisibilityMapTreeNode ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 8 | :ref:`CPoint` | m_relativePos | +------------+----------+----------------------------------------+-------------------------------+ | 0x08 | 2 | unsigned short | m_nRange | +------------+----------+----------------------------------------+-------------------------------+ | 0x0A | 6 | short | m_aChildren[3] | +------------+----------+----------------------------------------+-------------------------------+ | 0x10 | 2 | short | m_parent | +------------+----------+----------------------------------------+-------------------------------+ | | 2 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CVisualEffect: CVisualEffect ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CVisualEffect Class` +------------+----------+---------------------------------------------+---------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+---------------------------------------------+---------------------+ | 0x00 | 71 | :ref:`CGameObject` | m_cGameObject | +------------+----------+---------------------------------------------+---------------------+ | | 1 | | ```` | +------------+----------+---------------------------------------------+---------------------+ | 0x48 | 448 | :ref:`CVisualEffectBase` | m_cVisualEffectBase | +------------+----------+---------------------------------------------+---------------------+ | 0x208 | 28 | :ref:`CTypedPtrList` | m_activeAnimations | +------------+----------+---------------------------------------------+---------------------+ | 0x224 | 28 | :ref:`CTypedPtrList` | m_timedEvents | +------------+----------+---------------------------------------------+---------------------+ | 0x240 | 28 | :ref:`CTypedPtrList` | m_triggeredEvents | +------------+----------+---------------------------------------------+---------------------+ | 0x25C | 8 | :ref:`CPoint` | m_ptTargetPos | +------------+----------+---------------------------------------------+---------------------+ | 0x264 | 4 | long | m_nTargetId | +------------+----------+---------------------------------------------+---------------------+ | 0x268 | 8 | :ref:`CPoint` | m_posExact | +------------+----------+---------------------------------------------+---------------------+ | 0x270 | 8 | :ref:`CPoint` | m_posOld | +------------+----------+---------------------------------------------+---------------------+ | 0x278 | 4 | long | m_nExistanceCounter | +------------+----------+---------------------------------------------+---------------------+ | 0x27C | 4 | long | m_nDirection | +------------+----------+---------------------------------------------+---------------------+ | 0x280 | 4 | long | m_nNewDirection | +------------+----------+---------------------------------------------+---------------------+ | 0x284 | 8 | :ref:`CPoint` | m_posDelta | +------------+----------+---------------------------------------------+---------------------+ | 0x28C | 16 | unsigned char | m_terrainTable[16] | +------------+----------+---------------------------------------------+---------------------+ | 0x29C | 4 | :ref:`CStringList`\* | pList | +------------+----------+---------------------------------------------+---------------------+ | 0x2A0 | 4 | _POSITION\* | m_listPos | +------------+----------+---------------------------------------------+---------------------+ | 0x2A4 | 4 | int | m_startedList | +------------+----------+---------------------------------------------+---------------------+ | 0x2A8 | 4 | unsigned long | m_renderMask | +------------+----------+---------------------------------------------+---------------------+ ---- .. _CVisualEffectBase: CVisualEffectBase ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 4 | unsigned long | m_nTimedEventOffset | +------------+----------+----------------------------------------+-------------------------------+ | 0x04 | 4 | unsigned long | m_nTimedEventCount | +------------+----------+----------------------------------------+-------------------------------+ | 0x08 | 4 | unsigned long | m_nTriggeredEventOffset | +------------+----------+----------------------------------------+-------------------------------+ | 0x0C | 4 | unsigned long | m_nTriggeredEventCount | +------------+----------+----------------------------------------+-------------------------------+ | 0x10 | 4 | unsigned long | m_nTargetType | +------------+----------+----------------------------------------+-------------------------------+ | 0x14 | 4 | long | m_nSpeed | +------------+----------+----------------------------------------+-------------------------------+ | 0x18 | 4 | long | m_nDuration | +------------+----------+----------------------------------------+-------------------------------+ | 0x1C | 8 | :ref:`CPoint` | m_ptStartDeltaV | +------------+----------+----------------------------------------+-------------------------------+ | 0x24 | 4 | long | m_nDeltaVDec | +------------+----------+----------------------------------------+-------------------------------+ | 0x28 | 4 | long | m_nHeight | +------------+----------+----------------------------------------+-------------------------------+ | 0x2C | 4 | unsigned long | m_flags | +------------+----------+----------------------------------------+-------------------------------+ | 0x30 | 400 | unsigned long | m_extra[100] | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CVisualEffectFile: CVisualEffectFile ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 12 | :ref:`CResHelper` | m_cResHelper | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CVoice: CVoice ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CVoice Class` +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 4 | :ref:`CObject` | m_cObject | +------------+----------+----------------------------------------+-------------------------------+ | 0x04 | 4 | :ref:`CSound`\* | m_pSound | +------------+----------+----------------------------------------+-------------------------------+ | 0x08 | 4 | unsigned int | m_nBuffer | +------------+----------+----------------------------------------+-------------------------------+ | 0x0C | 4 | unsigned int | m_nSource | +------------+----------+----------------------------------------+-------------------------------+ | 0x10 | 4 | int | m_nChannel | +------------+----------+----------------------------------------+-------------------------------+ | 0x14 | 4 | int | m_nPriority | +------------+----------+----------------------------------------+-------------------------------+ | 0x18 | 1 | bool | m_bDuckedOthers | +------------+----------+----------------------------------------+-------------------------------+ | | 3 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CVRamPool: CVRamPool ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 4 | int | nVTiles | +------------+----------+----------------------------------------+-------------------------------+ | 0x04 | 4 | st_tiledef\* | pTileDef | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CVVCHash: CVVCHash ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 4 | :ref:`CVVCHashEntry`\* | m_hashEntries | +------------+----------+----------------------------------------+-------------------------------+ | 0x04 | 4 | long | m_nTableEntries | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CVVCHashEntry: CVVCHashEntry ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 8 | :ref:`CResRef` | m_name | +------------+----------+----------------------------------------+-------------------------------+ | 0x08 | 2 | unsigned short | m_priority | +------------+----------+----------------------------------------+-------------------------------+ | | 2 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ | 0x0C | 4 | unsigned long | m_renderType | +------------+----------+----------------------------------------+-------------------------------+ | 0x10 | 4 | unsigned long | m_renderMask | +------------+----------+----------------------------------------+-------------------------------+